/**
 * Description
 *
 * Creation Date 25/12/2017
 * @author Candy
 */
import React, { PureComponent } from 'react'
import {
	StyleSheet,
	View,
	Image,
	TouchableHighlight,
	TouchableOpacity,
	Platform,
	FlatList,
	Text
} from 'react-native'
import Icon from 'react-native-vector-icons/Ionicons';
import { screen, color } from '../../utils';
import { ImageSwiper, TextTool } from '../../components';
import { signout, getAddress } from '../../api';
import { setStore, getStore, removeStore } from '../../utils/tools';

export default class ProfileInfo extends PureComponent {
	static navigationOptions = ({ navigation }) => ({
		headerTitle: (
			<Text>My</Text>
		),
	});

	constructor(props, context) {
		super(props, context);
		this.state = {
			userInfo: {}
		}
	}

	componentWillMount() {
	}

	componentWillReceiveProps() {
	}

	render() {
		const {user} = this.props;
		console.log('user',user)
		return (
			<View>
				{
					user && <Text> Hi, { user.username }</Text>
				}
			</View>
		)
	}
}